]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Fill suggestion on button-press-event
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 22 Apr 2022 14:19:14 +0000 (16:19 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 10 Aug 2022 17:11:26 +0000 (17:11 +0000)
commitaa341104e523afc75d77493002efef0fbea21a0d
tree042c005dd1f1c0a2058c629ffdf5974fe0544700
parentb210b2de727bde5d8c26859816411a8bd61485ad
keyboard: Fill suggestion on button-press-event

Like OSK key buttons, we must avoid the default grabbing behavior
of StButton here. Hook to button-press-event to commit the selected
words, so we get a chance to prevent focus changes on the current
key focus.

Likewise, connect to ::touch-event to handle touch input.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>
js/ui/keyboard.js